package com.andrew.entity;

public class CartDetail {
	private int CartDetailId;
	private int BookId;
	private int quantity;
	private int CartId;
	public int getCartDetailId() {
		return CartDetailId;
	}
	public void setCartDetailId(int cartDetailId) {
		CartDetailId = cartDetailId;
	}
	public int getBookId() {
		return BookId;
	}
	public void setBookId(int bookId) {
		BookId = bookId;
	}
	public int getQuantity() {
		return quantity;
	}
	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}
	public int getCartId() {
		return CartId;
	}
	public void setCartId(int cartId) {
		CartId = cartId;
	}
	public CartDetail(int cartDetailId, int bookId, int quantity, int cartId) {
		super();
		CartDetailId = cartDetailId;
		BookId = bookId;
		this.quantity = quantity;
		CartId = cartId;
	}
	
	public CartDetail() {}
	@Override
	public String toString() {
		return "CartDetail [CartDetailId=" + CartDetailId + ", BookId=" + BookId + ", quantity=" + quantity
				+ ", CartId=" + CartId + "]";
	}
	
	

}
